import { mapGetters } from "vuex";
export const mixin = {
    computed: {
        ...mapGetters([
            'loginIn', //用户是否已登录
            'id', //当前登录用户的id
        ]),
    },
    data() {
        return {
        }
    },
    methods: {
        //提示信息
        notify(title, type) {
            this.$notify({
                title: title,
                type: type
            })
        },
    }
}